/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package session;

import entities.Rooms;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author TANGQUOCTUAN
 */
@Local
public interface RoomsFacadeLocal {

    void create(Rooms rooms);

    void edit(Rooms rooms);

    void remove(Rooms rooms);

    Rooms find(Object id);

    List<Rooms> findAll();

    List<Rooms> findRange(int[] range);

    int count();

    List showRoom();

    List detailRoom(Integer id);

    List getRoomName();

    boolean updateRoom(int id,String name,int resID, String description, String picture);

    boolean deleteRoom(Integer id);

    boolean insertRoom(String roomName, int resID, String description, String picture);
}
